﻿<%@ Page Title="Galleri" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Galleri
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% Html.PartialRequest(new { controller = "Album", action = "List" }); %>

</asp:Content>

<asp:Content ContentPlaceHolderID="LeftSideContent" runat="server">
    <ul>
        <li class="first"><%= Html.ActionLink("Bildefremvisning", "SlideShow") %></li>
        <% if (Page.User.IsInRole("Contributor")) { %>
        <li><%= Html.ActionLink("Opprett nytt album", "Create") %></li>
        <% } %>
    </ul>
</asp:Content>
